//
//  NoMoreDataCell.m
//  app
//
//  Created by mac 王少宁 15/4/8.
//  Copyright (c) 2015年 hdaren. All rights reserved.
//  没有更多数据的 cell

#import "NoMoreDataCell.h"

@implementation NoMoreDataCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.selectionStyle = UITableViewCellSelectionStyleNone;
        
        _noMoreDataLabel = CREATE_WITH_FRAME_OF(UILabel, CGPointMake(0, 0),
                                                [self.contentView.ubo ow:SCREEN_WIDTH oh:kNoMoreDataCellHeight]);
        _noMoreDataLabel.text = @"已显示全部数据";
        _noMoreDataLabel.textColor = [XCommon hexStringToColor:kColor_m_light_gray_text];
        _noMoreDataLabel.font = JKAppGlobleFontContentText;
        _noMoreDataLabel.textAlignment = NSTextAlignmentCenter;
        [self.contentView addSubview:_noMoreDataLabel];
    }
    return self;
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
